#include "iostream"

#include "HeroFighter.h"
#include "AdvHeroFighter.h"
#include "Adv2HeroFighter.h"
#include "EnemyFighter.h"

using namespace std;

int main()
{
	EnemyFighter  ef;
	HeroFighter hf;
	AdvHeroFighter advHf;
	

	if (hf.Power() < ef.attack())
	{
		cout<<"英雄挂了。。。"<<endl;
	}
	else
	{
		cout<<"英雄win。。。"<<endl;
	}

	if (advHf.Power() < ef.attack())
	{
		cout<<"英雄2挂了。。。"<<endl;
	}
	else
	{
		cout<<"英雄2win。。。"<<endl;
	}
	return 0;
}

